
import React, { PureComponent } from 'react';
import {Link} from "react-router-dom";

export default class List extends PureComponent {
  render() {
    return (
        <>
            <div>List</div>
            {/* <ul>
                <li><Link to={{pathname:"/Admin/DetailQuery",query:{id:'01001'}}}>比亚迪（秦）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailQuery",query:{id:'01002'}}}>比亚迪（汉）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailQuery",query:{id:'01003'}}}>比亚迪（唐）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailQuery",query:{id:'01004'}}}>比亚迪（宋）</Link></li>
                <li>红旗</li>
                <li>吉利</li>
            </ul> */}

<ul>
                <li><Link to={{pathname:"/Admin/DetailQuery",state:{id:'01001'}}}>比亚迪（秦）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailQuery",state:{id:'01002'}}}>比亚迪（汉）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailQuery",state:{id:'01003'}}}>比亚迪（唐）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailQuery",state:{id:'01004'}}}>比亚迪（宋）</Link></li>
                <li>红旗</li>
                <li>吉利</li>
            </ul>
        </>
    )
  }
}
